package demo3.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;

public class MyBlockHandler{
    public static String sayHiHandler(String name, BlockException e){
        System.out.println("name:"+name);
        System.out.println("e.class:"+e.getClass().getName());
        return "静态方法调用你的订单请求被限流控制了,sayHiHandler处理降级。";
    }
}
